<template>
    <div>
        <h1>我是用户界面哈哈哈</h1>
        <h4>{{userId}}</h4>
    </div>
</template>

<script>
    export default {
        name: "User",
        computed:{
            userId(){
                return this.$route.params.uid
            }
        },
        activated() {
            console.log('User activated')
        },
        deactivated() {
            console.log('User deactivated')
        }
    }
</script>

<style scoped>

</style>
